package com.lixingye.meowstar.dao;

import com.lixingye.meowstar.model.ArticleReply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 猫大仙
 * @since 2025-01-14
 */
@Mapper
public interface ArticleReplyMapper extends BaseMapper<ArticleReply> {
    /**
     * 根据帖子id查询所有回复
     * @param articleId
     * @return
     */
    List<ArticleReply> selectByArticleId(@Param("articleId") Long articleId);
}

